﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dune.Business.Domain.AssemblyCodes;
using Edge.Business.Domain;
using Edge.Common.ComponentModel;
using Edge.Common.Services;
using Edge.Common.Utils;
using Edge.DAL.Common.Config;
using Edge.DAL.Common.SessionManagment;
using Edge.DAL.Managers;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Type;
using EntityLoader=NHibernate.Loader.Entity.EntityLoader;

namespace Edge.DAL
{
    public class Initializer
    {

        private static void AddToTypeOfName(string key, IType type)
        {
            // this is hack
            ReflectionUtils.InvokeStatic(typeof(TypeFactory), "AddToTypeOfName", key, type);
        }
    }
}
